﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net;
using System.Net.Sockets;
using System.Threading;

namespace commonlib
{
    public class ClientServices : MarshalByRefObject, IClientServices
    {


        #region IClientServices Members

        public bool executeCommand(string command)
        {
            if (command.Contains("BeginTx"))
            {
                string[] token = command.Split(' ');

                //  int server1 = PaditableUtil.RandomNumber(0,);

                Console.WriteLine("begin transaction: {0} , {1}", token[0], token[1]);
            }

            return true;
        }
        #endregion
    }
}
